-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add bson ^5 to peerDeps in addition to ^4 #5943
Conversation
🤞 I can't completely recall why we needed to pin this to To ensure we're testing with |
I'm surprised that users are seeing
if they just allow NPM to install |
@kraenhansen, thanks for some context PRs! Regarding:
If we'd wait, do you think it'd be okay to tell users to install v5+ but ignore the warning? I'll make the bson ^5 a dev dependency in the SDK and tests, and do the change in realm-web as well. |
Update: I've added to the PR description to wait with the merge until the related BSON changes are released. |
I've updated the |
So one thing i've noted, is that if we have |
The React Native test are also failing for version 5.4.0. I believe there are missing polyfills. We may just have to revert to pinning this back to v4 and keeping it as an internal dependency. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Closing this (instead follow #6561). |
What, How & Why?
Users of
[email protected]
would end up with the following error:If using bson v5+, the issue is resolved but with the following warning:
This PR adds the
^5
to the bson peer dependency.☑️ ToDos
Compatibility
label is updated or copied from previous entryCOMPATIBILITY.md
package.json
s (if updating internal packages)Breaking
label has been applied or is not necessaryIf this PR adds or changes public API's: